package com.efast.dmom.mgmt.controller.master;

import com.efast.cafe.framework.bean.ResultBean;
import com.efast.dmom.mgmt.entity.les.TrBasPartSupplPull;
import com.efast.dmom.mgmt.service.les.TrBasPartSupplPullService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value="/tmBasPartSupplPull")
public class TrBasPartSupplPullController {
	@Autowired
	private TrBasPartSupplPullService trBasPartSupplPullService;
	//保存供应商配送模式
	@RequestMapping(value="/saveSupplPull")
	public @ResponseBody ResultBean saveSupplPull(@RequestBody TrBasPartSupplPull trBasPartSupplPull) {
		ResultBean resultBean = new ResultBean(true,"");
		trBasPartSupplPullService.saveSupplPull(trBasPartSupplPull);
		return resultBean;
	}
}
